Optimal. Leaf size=112 \[ -\frac {c^2 \cos \left (2 \sec ^{-1}(c x)\right )}{2 b^2 \left (a+b \sec ^{-1}(c x)\right )}+\frac {c^2 \text {CosIntegral}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right ) \sin \left (\frac {2 a}{b}\right )}{b^3}-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2 \cos \left (\frac {2 a}{b}\right ) \text {Si}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right )}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5330, 4491, 12,
3378, 3384, 3380, 3383} \begin {gather*} \frac {c^2 \sin \left (\frac {2 a}{b}\right ) \text {CosIntegral}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right )}{b^3}-\frac {c^2 \cos \left (\frac {2 a}{b}\right ) \text {Si}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right )}{b^3}-\frac {c^2 \cos \left (2 \sec ^{-1}(c x)\right )}{2 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3378
Rule 3380
Rule 3383
Rule 3384
Rule 4491
Rule 5330
Rubi steps
\begin {align*} \int \frac {1}{x^3 \left (a+b \sec ^{-1}(c x)\right )^3} \, dx &=c^2 \text {Subst}\left (\int \frac {\cos (x) \sin (x)}{(a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )\\ &=c^2 \text {Subst}\left (\int \frac {\sin (2 x)}{2 (a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )\\ &=\frac {1}{2} c^2 \text {Subst}\left (\int \frac {\sin (2 x)}{(a+b x)^3} \, dx,x,\sec ^{-1}(c x)\right )\\ &=-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2}+\frac {c^2 \text {Subst}\left (\int \frac {\cos (2 x)}{(a+b x)^2} \, dx,x,\sec ^{-1}(c x)\right )}{2 b}\\ &=-\frac {c^2 \cos \left (2 \sec ^{-1}(c x)\right )}{2 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2 \text {Subst}\left (\int \frac {\sin (2 x)}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{b^2}\\ &=-\frac {c^2 \cos \left (2 \sec ^{-1}(c x)\right )}{2 b^2 \left (a+b \sec ^{-1}(c x)\right )}-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {\left (c^2 \cos \left (\frac {2 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{b^2}+\frac {\left (c^2 \sin \left (\frac {2 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\sec ^{-1}(c x)\right )}{b^2}\\ &=-\frac {c^2 \cos \left (2 \sec ^{-1}(c x)\right )}{2 b^2 \left (a+b \sec ^{-1}(c x)\right )}+\frac {c^2 \text {Ci}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right ) \sin \left (\frac {2 a}{b}\right )}{b^3}-\frac {c^2 \sin \left (2 \sec ^{-1}(c x)\right )}{4 b \left (a+b \sec ^{-1}(c x)\right )^2}-\frac {c^2 \cos \left (\frac {2 a}{b}\right ) \text {Si}\left (\frac {2 a}{b}+2 \sec ^{-1}(c x)\right )}{b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.31, size = 114, normalized size = 1.02 \begin {gather*} \frac {-\frac {b^2 c \sqrt {1-\frac {1}{c^2 x^2}}}{x \left (a+b \sec ^{-1}(c x)\right )^2}+\frac {b \left (-2+c^2 x^2\right )}{x^2 \left (a+b \sec ^{-1}(c x)\right )}+2 c^2 \left (\text {CosIntegral}\left (2 \left (\frac {a}{b}+\sec ^{-1}(c x)\right )\right ) \sin \left (\frac {2 a}{b}\right )-\cos \left (\frac {2 a}{b}\right ) \text {Si}\left (2 \left (\frac {a}{b}+\sec ^{-1}(c x)\right )\right )\right )}{2 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 157, normalized size = 1.40
method | result | size |
derivativedivides | \(c^{2} \left (-\frac {\sin \left (2 \,\mathrm {arcsec}\left (c x \right )\right )}{4 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {2 \,\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {2 a}{b}\right ) \sinIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) b -2 \,\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {2 a}{b}\right ) \cosineIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) b +2 \cos \left (\frac {2 a}{b}\right ) \sinIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) a -2 \sin \left (\frac {2 a}{b}\right ) \cosineIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) a +\cos \left (2 \,\mathrm {arcsec}\left (c x \right )\right ) b}{2 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}\right )\) | \(157\) |
default | \(c^{2} \left (-\frac {\sin \left (2 \,\mathrm {arcsec}\left (c x \right )\right )}{4 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )^{2} b}-\frac {2 \,\mathrm {arcsec}\left (c x \right ) \cos \left (\frac {2 a}{b}\right ) \sinIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) b -2 \,\mathrm {arcsec}\left (c x \right ) \sin \left (\frac {2 a}{b}\right ) \cosineIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) b +2 \cos \left (\frac {2 a}{b}\right ) \sinIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) a -2 \sin \left (\frac {2 a}{b}\right ) \cosineIntegral \left (\frac {2 a}{b}+2 \,\mathrm {arcsec}\left (c x \right )\right ) a +\cos \left (2 \,\mathrm {arcsec}\left (c x \right )\right ) b}{2 \left (a +b \,\mathrm {arcsec}\left (c x \right )\right ) b^{3}}\right )\) | \(157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{3} \left (a + b \operatorname {asec}{\left (c x \right )}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 929 vs.
\(2 (108) = 216\).
time = 0.41, size = 929, normalized size = 8.29 \begin {gather*} \frac {1}{2} \, {\left (\frac {4 \, b^{2} c \arccos \left (\frac {1}{c x}\right )^{2} \cos \left (\frac {a}{b}\right ) \operatorname {Ci}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right ) \sin \left (\frac {a}{b}\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} - \frac {4 \, b^{2} c \arccos \left (\frac {1}{c x}\right )^{2} \cos \left (\frac {a}{b}\right )^{2} \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {8 \, a b c \arccos \left (\frac {1}{c x}\right ) \cos \left (\frac {a}{b}\right ) \operatorname {Ci}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right ) \sin \left (\frac {a}{b}\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} - \frac {8 \, a b c \arccos \left (\frac {1}{c x}\right ) \cos \left (\frac {a}{b}\right )^{2} \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {4 \, a^{2} c \cos \left (\frac {a}{b}\right ) \operatorname {Ci}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right ) \sin \left (\frac {a}{b}\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {2 \, b^{2} c \arccos \left (\frac {1}{c x}\right )^{2} \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} - \frac {4 \, a^{2} c \cos \left (\frac {a}{b}\right )^{2} \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {4 \, a b c \arccos \left (\frac {1}{c x}\right ) \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {b^{2} c \arccos \left (\frac {1}{c x}\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {2 \, a^{2} c \operatorname {Si}\left (\frac {2 \, a}{b} + 2 \, \arccos \left (\frac {1}{c x}\right )\right )}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} + \frac {a b c}{b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}} - \frac {b^{2} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{{\left (b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}\right )} x} - \frac {2 \, b^{2} \arccos \left (\frac {1}{c x}\right )}{{\left (b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}\right )} c x^{2}} - \frac {2 \, a b}{{\left (b^{5} \arccos \left (\frac {1}{c x}\right )^{2} + 2 \, a b^{4} \arccos \left (\frac {1}{c x}\right ) + a^{2} b^{3}\right )} c x^{2}}\right )} c \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^3\,{\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________